package com.xxd.rpt2.repository;

import com.xxd.rpt2.Entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface UserRepository extends JpaRepository<User,Integer>, JpaSpecificationExecutor<User>{
    User findUserByCode(String code);
}